ArcPad Layer Definition File Schema
STYLE Element
See Also  Send comments on this topic.
ArcPad Layer Definition File Schema : STYLE Element

Glossary Item Box

Description

Used to specify the symbol for a style in a stylesheet.

Diagram

TRUETYPEMARKERSYMBOL Element TEXTSYMBOL Element SIMPLEPOLYGONSYMBOL Element SIMPLEMARKERSYMBOL Element SIMPLELINESYMBOL Element RASTERMARKERSYMBOL Element RASTERFILLSYMBOL Element GROUPSYMBOL Element COMPLEXPOLYGONSYMBOL Element COMPLEXLINESYMBOL Element Sequence STYLE Element

Overview

STYLE
Used to specify the symbol for a style in a stylesheet.
catergory required xs:string
The category for the style (for example, ESRI\Default, ESRI\Dashed, etc.).
name required xs:string
Toolbar name. Used when referring to the toolbar in scripts.
Sequence
COMPLEXLINESYMBOL
Used to symbolize line features. Provides additional symbology options beyond SIMPLELINESYMBOL.
COMPLEXPOLYGONSYMBOL
Used to symbolize polygon features. Provides additional symbology options beyond SIMPLEPOLYGONSYMBOL.
GROUPSYMBOL
Used to symbolize features with multiple symbols acting as a single symbol (e.g., a freeway line symbol consists of a group of 3 line symbols).
RASTERFILLSYMBOL
Symbolizes polygon features using the specified image as a fill symbol.
RASTERMARKERSYMBOL
Symbolizes point features using the specified raster image.
SIMPLELINESYMBOL
Used to symbolize line features.
SIMPLEMARKERSYMBOL
Used to symbolize point features using one of the predefined symbol types: circle, square, cross, triangle, star, X, or diamond.
SIMPLEPOLYGONSYMBOL
Used to symbolize polygon features.
TEXTSYMBOL
Symbol used to label point, line, and polygon layers.
TRUETYPEMARKERSYMBOL
Used to symbolize point features using TrueType symbols.

Attributes

NameTypeUseDefaultFixedDescription
catergoryxs:stringrequired  The category for the style (for example, ESRI\Default, ESRI\Dashed, etc.).
namexs:stringrequired  Toolbar name. Used when referring to the toolbar in scripts.

Examples

Restrictions

  • Only point symbol types can be child elements of this element when the parent is MARKERSTYLES.
  • Only line symbol types can be child elements of this element when the parent is LINESTYLES.
  • Only polygon symbol types can be child elements of this element when the parent is FILLSTYLES.

Source

<xs:element name="STYLE" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="COMPLEXLINESYMBOL" />
      <xs:element ref="COMPLEXPOLYGONSYMBOL" />
      <xs:element ref="GROUPSYMBOL" />
      <xs:element ref="RASTERFILLSYMBOL" />
      <xs:element ref="RASTERMARKERSYMBOL" />
      <xs:element ref="SIMPLELINESYMBOL" />
      <xs:element ref="SIMPLEMARKERSYMBOL" />
      <xs:element ref="SIMPLEPOLYGONSYMBOL" />
      <xs:element ref="TEXTSYMBOL" />
      <xs:element ref="TRUETYPEMARKERSYMBOL" />
    </xs:sequence>
    <xs:attribute name="catergory" use="required" type="xs:string">
      <xs:annotation>
        <xs:documentation>The category for the style (for example, ESRI\Default, ESRI\Dashed, etc.).</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="name" use="required" />
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.